#include "LabyrinthGame.h"
#include "UserInterface.h"

#include <glog/logging.h>
#include <iostream>

int main(int argc, char ** argv) {
	google::InitGoogleLogging(argv[0]);

	//redirect cin and cout to UserInterface::in and UserInterface::out
	UserInterface::out.rdbuf(cout.rdbuf());
	UserInterface::in.rdbuf(cin.rdbuf());

	LabyrinthGame labyrinthGame;
	labyrinthGame.play();

	return 0;
}

